<h1>StaticPages List</h1>

<table>
  <thead>
    <tr>
      <th>Id</th>
      <th>Title</th>
      <th>Url slug</th>
      <th>Meta keyword</th>
      <th>Meta description</th>
      <th>Content</th>
      <th>Created by</th>
      <th>Created at</th>
      <th>Updated at</th>
      <th>Is active</th>
    </tr>
  </thead>
  <tbody>
    <?php foreach ($StaticPages as $StaticPage): ?>
    <tr>
      <td><a href="<?php echo url_for('staticpage/show?id='.$StaticPage->getId()) ?>"><?php echo $StaticPage->getId() ?></a></td>
      <td><?php echo $StaticPage->getTitle() ?></td>
      <td><?php echo $StaticPage->getUrlSlug() ?></td>
      <td><?php echo $StaticPage->getMetaKeyword() ?></td>
      <td><?php echo $StaticPage->getMetaDescription() ?></td>
      <td><?php echo $StaticPage->getContent() ?></td>
      <td><?php echo $StaticPage->getCreatedBy() ?></td>
      <td><?php echo $StaticPage->getCreatedAt() ?></td>
      <td><?php echo $StaticPage->getUpdatedAt() ?></td>
      <td><?php echo $StaticPage->getIsActive() ?></td>
    </tr>
    <?php endforeach; ?>
  </tbody>
</table>

  <a href="<?php echo url_for('staticpage/new') ?>">New</a>
